// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import FastClick from 'fastclick'
import router from './router'
import store from './store'
import App from './App'
import filters from '@/config/filters';
import init from './config/init';



FastClick.attach(document.body)

Object.keys(filters).forEach(k => Vue.filter(k, filters[k]));

Vue.config.productionTip = false

init(store).then(data => {
  
  new Vue({
    store,
      router,
      render: h => h(App)
    }).$mount('#app-box')

}, ()=>{

  new Vue({
      store,
      router,
      render: h => h(App)
  }).$mount('#app-box')


  router.push('/address/all/index')

});

 
